Release 10.1A: OpenEdge Development:
ADM Reference


widgetIsFocused

Returns TRUE if the widget has focus. This is not supported for SmartDataFields. This returns unknown if the field is not found or if the widget is a SmartDataField.

Location: visual.p

Parameters:

INPUT name AS CHARACTER

The name of a single Dynamics object.

Returns: LOGICAL

Notes: This API is not supported by the DHTML client.

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsFocused("shipped":U) AND widgetIsTrue("shipped":U) THEN 
assignFocusedWidget("comments":U).  


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095